package com.newdream.eurekaclient.service;

import com.newdream.eurekaclient.mapper.dev.StudentMapper;
import com.newdream.eurekaclient.model.Student;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * @ author: sanglei
 * @ date: 2019-04-26 15:21
 * @ description:
 */
@Service
public class StudentService {
    @Autowired
    private StudentMapper studentMapper;

    public Student get(Integer id){
        return studentMapper.select(id);
    }
}
